/**
 * In this class, has many method to help coding more simple
 * Created by wubin on 2016-11-19.
 */
export class CommonHelper {
    private static trimRegex: any = /(:?^\s*)|(:?\s*$)/g;

    public static trim(targetStr: string): string {
        return targetStr.replace(CommonHelper.trimRegex, "");
    }
}